<?php

namespace ORM\Dynasties2;

use Doctrine\ORM\Mapping as ORM;

/**
 * ORM\Dynasties2\Gamelog
 */
class Gamelog
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var integer $onTurn
     */
    private $onTurn;

    /**
     * @var text $text
     */
    private $text;

    /**
     * @var datetime $timeStamp
     */
    private $timeStamp;

    /**
     * @var smallint $msgType
     */
    private $msgType;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set onTurn
     *
     * @param integer $onTurn
     * @return Gamelog
     */
    public function setOnTurn($onTurn)
    {
        $this->onTurn = $onTurn;
        return $this;
    }

    /**
     * Get onTurn
     *
     * @return integer 
     */
    public function getOnTurn()
    {
        return $this->onTurn;
    }

    /**
     * Set text
     *
     * @param text $text
     * @return Gamelog
     */
    public function setText($text)
    {
        $this->text = $text;
        return $this;
    }

    /**
     * Get text
     *
     * @return text 
     */
    public function getText()
    {
        return $this->text;
    }

    /**
     * Set timeStamp
     *
     * @param datetime $timeStamp
     * @return Gamelog
     */
    public function setTimeStamp($timeStamp)
    {
        $this->timeStamp = $timeStamp;
        return $this;
    }

    /**
     * Get timeStamp
     *
     * @return datetime 
     */
    public function getTimeStamp()
    {
        return $this->timeStamp;
    }

    /**
     * Set msgType
     *
     * @param smallint $msgType
     * @return Gamelog
     */
    public function setMsgType($msgType)
    {
        $this->msgType = $msgType;
        return $this;
    }

    /**
     * Get msgType
     *
     * @return smallint 
     */
    public function getMsgType()
    {
        return $this->msgType;
    }
    /**
     * @var smallint $whichWorld
     */
    private $whichWorld;

    /**
     * @var integer $whichRegion
     */
    private $whichRegion;

    /**
     * @var integer $whichCharacter
     */
    private $whichCharacter;

    /**
     * @var integer $whichUser
     */
    private $whichUser;


    /**
     * Set whichWorld
     *
     * @param smallint $whichWorld
     * @return Gamelog
     */
    public function setWhichWorld($whichWorld)
    {
        $this->whichWorld = $whichWorld;
        return $this;
    }

    /**
     * Get whichWorld
     *
     * @return smallint 
     */
    public function getWhichWorld()
    {
        return $this->whichWorld;
    }

    /**
     * Set whichRegion
     *
     * @param integer $whichRegion
     * @return Gamelog
     */
    public function setWhichRegion($whichRegion)
    {
        $this->whichRegion = $whichRegion;
        return $this;
    }

    /**
     * Get whichRegion
     *
     * @return integer 
     */
    public function getWhichRegion()
    {
        return $this->whichRegion;
    }

    /**
     * Set whichCharacter
     *
     * @param integer $whichCharacter
     * @return Gamelog
     */
    public function setWhichCharacter($whichCharacter)
    {
        $this->whichCharacter = $whichCharacter;
        return $this;
    }

    /**
     * Get whichCharacter
     *
     * @return integer 
     */
    public function getWhichCharacter()
    {
        return $this->whichCharacter;
    }

    /**
     * Set whichUser
     *
     * @param integer $whichUser
     * @return Gamelog
     */
    public function setWhichUser($whichUser)
    {
        $this->whichUser = $whichUser;
        return $this;
    }

    /**
     * Get whichUser
     *
     * @return integer 
     */
    public function getWhichUser()
    {
        return $this->whichUser;
    }
}